﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThridGroup.ERP.DTO.WarehouseManagement;

namespace ThridGroup.ERP.WarehouseManagement
{
    /// <summary>
    /// 库存盘点
    /// </summary>
    public interface IInventoryCountsServices
    {
        /// <summary>
        /// 添加库存盘点
        /// </summary>
        /// <param name="inventoryCounts"></param>
        /// <returns></returns>
        Task<int> AddInventoryCounts(InventoryCountsDTO inventoryCounts);
        /// <summary>
        /// 库存盘点列表
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="countingOrderName"></param>
        /// <returns></returns>
        Task<List<InventoryCountsDTO>> ShowInventoryCounts(int pageIndex = 1, int pageSize = 10, string? countingOrderName = "");
        /// <summary>
        /// 删除库存盘点
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task DelInventoryCounts(List<int> ids);
        /// <summary>
        /// 获取库存盘点
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<InventoryCountsDTO> GetInventoryCounts(int id);
        /// <summary>
        /// 编辑库存盘点
        /// </summary>
        /// <param name="inventoryCounts"></param>
        /// <returns></returns>
        Task<int> UpdateInventoryCounts(InventoryCountsDTO inventoryCounts);

    }
}
